package com.probox.common.entity.domain.platfom;

import java.util.Date;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import com.baomidou.mybatisplus.annotation.*;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.probox.common.core.annotation.Excel;

/**
 * 短信配置对象 platform_sms_config
 *
 *
 * @date 2021-06-22
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("platform_sms_config")
public class PlatformSmsConfig implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    //默认主键自增
    @TableId(value = "config_id", type = IdType.AUTO)
    private Long configId;
    /**
     * 平台ID
     */
    @Excel(name = "平台ID")
    private Long platformId;
    /**
     * 短信平台 腾讯/阿里
     */
    @Excel(name = "短信平台 腾讯/阿里")
    private String smsPlatform;
    /**
     * appID
     */
    @Excel(name = "appID")
    private String smsSdkAppid;
    /**
     * 短信模板ID
     */
    @Excel(name = "短信模板ID")
    private String templateId;
    /**
     * 短信签名
     */
    @Excel(name = "短信签名")
    private String sign;
    /**
     * 秘钥ID
     */
    @Excel(name = "秘钥ID")
    private String secretId;
    /**
     * 秘钥KEY
     */
    @Excel(name = "秘钥KEY")
    private String secretKey;
    /**
     * $column.columnComment
     */
    @Excel(name = "秘钥KEY")
    private Long createUid;
    /**
     * $column.columnComment
     */
    @Excel(name = "秘钥KEY")
    private String createName;
    /**
     * $column.columnComment
     */
    private Date createTime;
    /**
     * $column.columnComment
     */
    @Excel(name = "秘钥KEY")
    private Long updateUid;
    /**
     * $column.columnComment
     */
    @Excel(name = "秘钥KEY")
    private String updateName;
    /**
     * $column.columnComment
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
    /**
     * 数据状态，1有效，0无效
     */
    @Excel(name = "数据状态，1有效，0无效")
    private String dataStatus;
    /**
     * 短信类型，验证码(code)/通知(notice)
     */
    @Excel(name = "短信类型，验证码(code)/通知(notice)")
    private String smsType;

}
